<template>
	<view class="goods">
		<goodslistitem class="goodsitem" v-for="(items,index) in goodsdata" v-bind:item="items" v-bind:key="index"></goodslistitem>
	</view>
</template>

<script>
	import goodslistitem from './GoodsListItem.vue'
	export default {
		props:['goodsdata'],
		components:{
			goodslistitem
		},
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
.goods{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.goodsitem{
    width: 46%;
}
</style>
